home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 86
/
(Vol 86) My Disc.iso
/
Games
/
pet_1112.swf
/
scripts
/
DefineSprite_450
/
frame_4
/
DoAction.as
Wrap
Text File
|
2009-04-14
|
641b
|
31 lines
stop();
xOffset = 102;
minSpread = 25;
maxSpread = 50;
for(var prop in ezWardrobeRollOvers)
{
clip = ezWardrobeRollOvers[prop];
clip.onPress = function()
{
if(this.baseClip_mc._visible)
{
_parent.wears[this.part][this.ID].onPress();
}
this.useHandCursor = false;
this.gotoAndStop(2);
this.baseClip_mc._visible = false;
};
clip.onMouseOver = function()
{
this.gotoAndStop(2);
_root.sounds.whoosh.start();
};
clip.onRollOut = function()
{
if(this.baseClip_mc._visible)
{
this.gotoAndStop(1);
}
};
}